package com.huawei.appmarket.service.externalapi.jumpers;

import android.net.Uri;
import android.text.TextUtils;
import com.huawei.appmarket.service.distribution.deeplink.fulldetail.DisFullDetailActivityProtocol;
import com.huawei.appmarket.service.distribution.deeplink.fulldetail.DisFullDetailActivityProtocol.Request;
import o.ceb;
import o.cjm;
import o.cjo;
import o.Logger;
import o.drj;
import o.dxk;
import o.dyr;
import o.dys.a;

public class HttpLinkActionJumperEx extends HttpShareLinkActionJumperEx {
    public HttpLinkActionJumperEx(dyr o_dyr, a aVar, Uri uri) {
        super(o_dyr, aVar, uri);
    }

    protected void ॱ(String str, String str2) {
        String ˏ = ceb.ˏ(this.ˊ, "detailType");
        if (TextUtils.isEmpty(ˏ)) {
            cjo disFullDetailActivityProtocol = new DisFullDetailActivityProtocol();
            Request request = new Request();
            request.ˋ(drj.ˏ(str2));
            request.ˎ(true);
            request.ॱˋ(str2);
            disFullDetailActivityProtocol.ˋ(request);
            ˎ(new cjm("distribution.fulldetail.activity", disFullDetailActivityProtocol));
        } else if ("1".equals(ˏ)) {
            ˎ(dxk.ॱ(this.ˊ, str2, ˏ));
        } else if ("0".equals(ˏ)) {
            ˎ(dxk.ˋ(this.ˊ, str2, ˏ));
        } else {
            Logger.e("HttpLinkActionJumperEx", "error distribution detailType");
            ˊ();
        }
    }

    private void ˎ(cjm o_cjm) {
        this.ˏ.ˎ(o_cjm, 0);
        this.ˏ.finish();
    }
}
